//
//  CellThreeView.h
//  JinChengYun
//
//  Created by mac on 2017/7/18.
//  Copyright © 2017年 金橙云. All rights reserved.
//

#import <UIKit/UIKit.h>


typedef void(^returnbtn)(CGFloat height);
@protocol CellThreeViewDelegate <NSObject>
// 1+2-
-(void)cellThreeViewBtnClickWithIndex:(NSInteger)index Type:(NSInteger)type;

@end
@interface CellThreeView : UIView<UITextFieldDelegate>
@property (nonatomic, weak) id<CellThreeViewDelegate>                  delegate;

@property (nonatomic, strong) UILabel                   *namelab;
@property (nonatomic, strong) UITextField               *tf1;
@property (nonatomic, strong) UITextField               *tf2;
@property (nonatomic, strong) UITextField               *tf3;
@property (nonatomic, strong) UIButton                  *rightbtn1;
@property (nonatomic, strong) UIButton                  *rightbtn2;
@property (nonatomic, strong) UIButton                  *rightbtn3;
@property (nonatomic, strong) NSMutableArray            *dataarray;

@property (nonatomic, copy) returnbtn                   rerturnbtn;

- (id)initWithFrame:(CGRect)frame witharray:(NSMutableArray *)array;

- (void)reloadviewwitharray:(NSMutableArray *)array;

- (void)reloadviewframe;


@end
